//
//  TaskData.h
//  DevDemo
//
//  Created by BO ZHOU on 2021/5/6.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^Task)(bool);
typedef void(^VoidBlock)(void);

@interface TaskData : NSObject

/// block引用
@property (nonatomic, copy) Task task;

-(void)cancel;

@end

NS_ASSUME_NONNULL_END
